package com.boot.model;

import java.io.Serializable;

/**
 * @Auther: zhengshunzhi
 * @Date: 2018/8/30 14:01
 * @Description: 权限
 */
public class Permission implements Serializable{
    //权限id
    private Long id;
    //权限路径
    private String name;
    //权限名称
    private String url;

    public Permission() {
    }

    public Permission(Long id, String name, String url) {
        this.id = id;
        this.name = name;
        this.url = url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "id:" + this.getId() + "\t" + "name:" + this.getName() + "\t" + "url:" + this.getUrl();
    }
}
